<?php
set_include_path(get_include_path() . PATH_SEPARATOR . '.' . PATH_SEPARATOR . './libs/');
require_once('./libs/Smarty/Smarty.class.php');
require_once('./libs/classes/dbconection.class.php');
require_once('./libs/classes/quzhuanyi.fun.php');
$dbLink = dbconection::makealink();
$ls = new Smarty();
$logs = $dbLink->query("select * from article order by `article_id` desc limit 0,10");
$rows = $logs->fetchAll();
$rows=stripslashesx($rows);
$ls->assign('logs',$rows);
$ls->display('frontframe.html');
?>